package com.example.mvvm.api

import retrofit2.http.FieldMap
import retrofit2.http.FormUrlEncoded
import retrofit2.http.GET
import retrofit2.http.QueryMap

interface Api {

    //@Query拼接在网址后的参数  @Field用于post请求放在请求题
    @GET("/video/findVideos")
    suspend fun getVideoData(@QueryMap params:Map<String,String>):BaseResponse<MutableList<VideoEntity>>
}